﻿<div id="fullBg" class="fullBg none"></div>
<div action="createFinanceCredit" id="financing_adjust_dialog" class="dialog adddialog none" style="margin-top: -263px; margin-left: -325px;">
	<div class="dialogTitle">调整评估单价</div>
	<button class="closeDiv">×</button>
	<div class="dialog_content">
		<div class="dialogDataLine"><div>授信额度：<span class="data" name="creditQuota"></span> </div><div>调整额度：<input name="creditAmount" type="text" value="0" isNULL="1" codeName="调整额度"></div></div>
		<div class="dialogDataLine tip">“+”为额度增加，“-”为额度减少</div>
		<div class="datalineTitle">单价调整：</div>
		<div class="dialogDataLine">
			<table id="financingAdjustTable">
		</table>
		</div>
		<script type="text/template" id="financingAdjustTpl">
			<tr>
				<th>货物名称</th>
				<th>规格型号</th>
				<th>数量</th>
				<th>重量</th>
				<th>原估值单价</th>
				<th>调整货物单价</th>
				<th></th>
			</tr>
			{@each datas as it}
			<input type="hidden" name="financeId" value="${it.financeId}" />
			{@each it.bulkstocks as item}
			<tr bulkstockname="${item.bulkstockname}" specification="${item.specification}">
				<td><input type="hidden" name="bulkstockId" value="${item.bulkstockId}" />${item.bulkstockName}</td>
				<td>${item.specification}</td>
				<td><span class="financingQuantity">${item.quantity}</span>${item.unit}</td>
				<td>${item.weight}吨</td>
				<td>${item.evaluatePrice}元/${item.unit}</td>
				<td><input class="financingAdjustPrice" value="${item.evaluatePrice}" name="evaluateAmount" type="text" isNULL="1" codeName="﻿估值单价金额"/></td>
				<td><a class="dynamicLink">查看价格动态</a></td>
			</tr>
			{@/each}
			{@/each}
		</script>
		<div style="margin-top: 15px;" class="dialogDataLine"><div>调整原因：<select class="adjustReson" name="reson"></select></div><div></div></div>
		<div class="datalineTitle">调整说明：<span style="float: right; font-size: 13px; color: #ff7344; font-weight: bold; margin-right: 15px;">调整后总值： <span id="financingAdujustValuation">0.0</span> <input type="hidden" name="valuation"/></span><span style="float: right; font-size: 13px; color: #ff7344; font-weight: bold; margin-right: 15px;">原总值： <span id="financingAdujustValuationOld">0.0</span></span></div>
		<div class="dialogDataLine"><textarea style="width: 100%;" name="remark"></textarea></div>
	</div>
	<div class="footerBtn ad_button">
		<div class="dialogBtn dialogHandlerBtn sure_yes">确定</div>
		<div class="dialogBtn dialogHandlerBtn sure_no">取消</div>
	</div>
</div>